package com.github.cyf;

import com.github.xiaoymin.knife4j.spring.configuration.Knife4jProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author chenyifan
 * @create 2024-03-26 15:14
 */
@SpringBootApplication
public class Knife4jApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Knife4jApplication.class, args);
        Knife4jProperties bean = run.getBean(Knife4jProperties.class);
        System.out.println(bean);
    }
}
